3.6.23 \(\int \frac {(a+b \log (c (d+\frac {e}{x^{2/3}})^n))^2}{x^2} \, dx\) [523]

Optimal. Leaf size=361 \[ -\frac {8 b^2 n^2}{9 x}+\frac {32 b^2 d n^2}{3 e \sqrt [3]{x}}+\frac {32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )}{3 e^{3/2}}+\frac {4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )^2}{e^{3/2}}-\frac {8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \log \left (2-\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}+\frac {4 i b^2 d^{3/2} n^2 \text {Li}_2\left (-1+\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}} \]

[Out]

-8/9*b^2*n^2/x+32/3*b^2*d*n^2/e/x^(1/3)+32/3*b^2*d^(3/2)*n^2*arctan(x^(1/3)*d^(1/2)/e^(1/2))/e^(3/2)+4*I*b^2*d
^(3/2)*n^2*arctan(x^(1/3)*d^(1/2)/e^(1/2))^2/e^(3/2)+4/3*b*n*(a+b*ln(c*(d+e/x^(2/3))^n))/x-4*b*d*n*(a+b*ln(c*(
d+e/x^(2/3))^n))/e/x^(1/3)-4*b*d^(3/2)*n*arctan(x^(1/3)*d^(1/2)/e^(1/2))*(a+b*ln(c*(d+e/x^(2/3))^n))/e^(3/2)-(
a+b*ln(c*(d+e/x^(2/3))^n))^2/x-8*b^2*d^(3/2)*n^2*arctan(x^(1/3)*d^(1/2)/e^(1/2))*ln(2-2*e^(1/2)/(-I*x^(1/3)*d^
(1/2)+e^(1/2)))/e^(3/2)+4*I*b^2*d^(3/2)*n^2*polylog(2,-1+2*e^(1/2)/(-I*x^(1/3)*d^(1/2)+e^(1/2)))/e^(3/2)

________________________________________________________________________________________

Rubi [A]
time = 0.38, antiderivative size = 361, normalized size of antiderivative = 1.00, number of steps used = 19, number of rules used = 14, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {2508, 2507, 2526, 2505, 269, 331, 211, 2520, 12, 266, 6820, 5044, 4988, 2497} \begin {gather*} \frac {4 i b^2 d^{3/2} n^2 \text {PolyLog}\left (2,-1+\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}-\frac {4 b d^{3/2} n \text {ArcTan}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}+\frac {4 i b^2 d^{3/2} n^2 \text {ArcTan}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )^2}{e^{3/2}}+\frac {32 b^2 d^{3/2} n^2 \text {ArcTan}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )}{3 e^{3/2}}-\frac {8 b^2 d^{3/2} n^2 \text {ArcTan}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \log \left (2-\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac {32 b^2 d n^2}{3 e \sqrt [3]{x}}-\frac {8 b^2 n^2}{9 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e/x^(2/3))^n])^2/x^2,x]

[Out]

(-8*b^2*n^2)/(9*x) + (32*b^2*d*n^2)/(3*e*x^(1/3)) + (32*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[d]*x^(1/3))/Sqrt[e]])/(3*
e^(3/2)) + ((4*I)*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[d]*x^(1/3))/Sqrt[e]]^2)/e^(3/2) - (8*b^2*d^(3/2)*n^2*ArcTan[(Sq
rt[d]*x^(1/3))/Sqrt[e]]*Log[2 - (2*Sqrt[e])/(Sqrt[e] - I*Sqrt[d]*x^(1/3))])/e^(3/2) + (4*b*n*(a + b*Log[c*(d +
 e/x^(2/3))^n]))/(3*x) - (4*b*d*n*(a + b*Log[c*(d + e/x^(2/3))^n]))/(e*x^(1/3)) - (4*b*d^(3/2)*n*ArcTan[(Sqrt[
d]*x^(1/3))/Sqrt[e]]*(a + b*Log[c*(d + e/x^(2/3))^n]))/e^(3/2) - (a + b*Log[c*(d + e/x^(2/3))^n])^2/x + ((4*I)
*b^2*d^(3/2)*n^2*PolyLog[2, -1 + (2*Sqrt[e])/(Sqrt[e] - I*Sqrt[d]*x^(1/3))])/e^(3/2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 266

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 269

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[x^(m + n*p)*(b + a/x^n)^p, x] /; FreeQ[{a, b, m
, n}, x] && IntegerQ[p] && NegQ[n]

Rule 331

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c*x)^(m + 1)*((a + b*x^n)^(p + 1)/(a*c
*(m + 1))), x] - Dist[b*((m + n*(p + 1) + 1)/(a*c^n*(m + 1))), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 2497

Int[Log[u_]*(Pq_)^(m_.), x_Symbol] :> With[{C = FullSimplify[Pq^m*((1 - u)/D[u, x])]}, Simp[C*PolyLog[2, 1 - u
], x] /; FreeQ[C, x]] /; IntegerQ[m] && PolyQ[Pq, x] && RationalFunctionQ[u, x] && LeQ[RationalFunctionExponen
ts[u, x][[2]], Expon[Pq, x]]

Rule 2505

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[(f*x)^(m +
 1)*((a + b*Log[c*(d + e*x^n)^p])/(f*(m + 1))), x] - Dist[b*e*n*(p/(f*(m + 1))), Int[x^(n - 1)*((f*x)^(m + 1)/
(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rule 2507

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_)*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[(f*x)
^(m + 1)*((a + b*Log[c*(d + e*x^n)^p])^q/(f*(m + 1))), x] - Dist[b*e*n*p*(q/(f^n*(m + 1))), Int[(f*x)^(m + n)*
((a + b*Log[c*(d + e*x^n)^p])^(q - 1)/(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && IGtQ[q, 1]
 && IntegerQ[n] && NeQ[m, -1]

Rule 2508

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_)*(x_)^(m_.), x_Symbol] :> With[{k = Denomina
tor[n]}, Dist[k, Subst[Int[x^(k*(m + 1) - 1)*(a + b*Log[c*(d + e*x^(k*n))^p])^q, x], x, x^(1/k)], x]] /; FreeQ
[{a, b, c, d, e, m, p, q}, x] && FractionQ[n]

Rule 2520

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))/((f_) + (g_.)*(x_)^2), x_Symbol] :> With[{u = In
tHide[1/(f + g*x^2), x]}, Simp[u*(a + b*Log[c*(d + e*x^n)^p]), x] - Dist[b*e*n*p, Int[u*(x^(n - 1)/(d + e*x^n)
), x], x]] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && IntegerQ[n]

Rule 2526

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_) + (g_.)*(x_)^(s_))^(r_.),
 x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x^n)^p])^q, x^m*(f + g*x^s)^r, x], x] /; FreeQ[{a, b, c,
 d, e, f, g, m, n, p, q, r, s}, x] && IGtQ[q, 0] && IntegerQ[m] && IntegerQ[r] && IntegerQ[s]

Rule 4988

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_))), x_Symbol] :> Simp[(a + b*ArcTan[c*x])
^p*(Log[2 - 2/(1 + e*(x/d))]/d), x] - Dist[b*c*(p/d), Int[(a + b*ArcTan[c*x])^(p - 1)*(Log[2 - 2/(1 + e*(x/d))
]/(1 + c^2*x^2)), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 + e^2, 0]

Rule 5044

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_)^2)), x_Symbol] :> Simp[(-I)*((a + b*ArcT
an[c*x])^(p + 1)/(b*d*(p + 1))), x] + Dist[I/d, Int[(a + b*ArcTan[c*x])^p/(x*(I + c*x)), x], x] /; FreeQ[{a, b
, c, d, e}, x] && EqQ[e, c^2*d] && GtQ[p, 0]

Rule 6820

Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; SimplerIntegrandQ[v, u, x]]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x^2} \, dx &=3 \text {Subst}\left (\int \frac {\left (a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )\right )^2}{x^4} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-(4 b e n) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )}{\left (d+\frac {e}{x^2}\right ) x^6} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-(4 b e n) \text {Subst}\left (\int \left (\frac {a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )}{e x^4}-\frac {d \left (a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )\right )}{e^2 x^2}+\frac {d^2 \left (a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )\right )}{e^2 \left (e+d x^2\right )}\right ) \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-(4 b n) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )}{x^4} \, dx,x,\sqrt [3]{x}\right )+\frac {(4 b d n) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )}{x^2} \, dx,x,\sqrt [3]{x}\right )}{e}-\frac {\left (4 b d^2 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e}{x^2}\right )^n\right )}{e+d x^2} \, dx,x,\sqrt [3]{x}\right )}{e}\\ &=\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-\left (8 b^2 d n^2\right ) \text {Subst}\left (\int \frac {1}{\left (d+\frac {e}{x^2}\right ) x^4} \, dx,x,\sqrt [3]{x}\right )-\left (8 b^2 d^2 n^2\right ) \text {Subst}\left (\int \frac {\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {e}}\right )}{\sqrt {d} \sqrt {e} \left (d+\frac {e}{x^2}\right ) x^3} \, dx,x,\sqrt [3]{x}\right )+\frac {1}{3} \left (8 b^2 e n^2\right ) \text {Subst}\left (\int \frac {1}{\left (d+\frac {e}{x^2}\right ) x^6} \, dx,x,\sqrt [3]{x}\right )\\ &=\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-\left (8 b^2 d n^2\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (e+d x^2\right )} \, dx,x,\sqrt [3]{x}\right )-\frac {\left (8 b^2 d^{3/2} n^2\right ) \text {Subst}\left (\int \frac {\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {e}}\right )}{\left (d+\frac {e}{x^2}\right ) x^3} \, dx,x,\sqrt [3]{x}\right )}{\sqrt {e}}+\frac {1}{3} \left (8 b^2 e n^2\right ) \text {Subst}\left (\int \frac {1}{x^4 \left (e+d x^2\right )} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {8 b^2 n^2}{9 x}+\frac {8 b^2 d n^2}{e \sqrt [3]{x}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-\frac {1}{3} \left (8 b^2 d n^2\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (e+d x^2\right )} \, dx,x,\sqrt [3]{x}\right )+\frac {\left (8 b^2 d^2 n^2\right ) \text {Subst}\left (\int \frac {1}{e+d x^2} \, dx,x,\sqrt [3]{x}\right )}{e}-\frac {\left (8 b^2 d^{3/2} n^2\right ) \text {Subst}\left (\int \frac {\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {e}}\right )}{x \left (e+d x^2\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt {e}}\\ &=-\frac {8 b^2 n^2}{9 x}+\frac {32 b^2 d n^2}{3 e \sqrt [3]{x}}+\frac {8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )}{e^{3/2}}+\frac {4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )^2}{e^{3/2}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}-\frac {\left (8 i b^2 d^{3/2} n^2\right ) \text {Subst}\left (\int \frac {\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {e}}\right )}{x \left (i+\frac {\sqrt {d} x}{\sqrt {e}}\right )} \, dx,x,\sqrt [3]{x}\right )}{e^{3/2}}+\frac {\left (8 b^2 d^2 n^2\right ) \text {Subst}\left (\int \frac {1}{e+d x^2} \, dx,x,\sqrt [3]{x}\right )}{3 e}\\ &=-\frac {8 b^2 n^2}{9 x}+\frac {32 b^2 d n^2}{3 e \sqrt [3]{x}}+\frac {32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )}{3 e^{3/2}}+\frac {4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )^2}{e^{3/2}}-\frac {8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \log \left (2-\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}+\frac {\left (8 b^2 d^2 n^2\right ) \text {Subst}\left (\int \frac {\log \left (2-\frac {2}{1-\frac {i \sqrt {d} x}{\sqrt {e}}}\right )}{1+\frac {d x^2}{e}} \, dx,x,\sqrt [3]{x}\right )}{e^2}\\ &=-\frac {8 b^2 n^2}{9 x}+\frac {32 b^2 d n^2}{3 e \sqrt [3]{x}}+\frac {32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )}{3 e^{3/2}}+\frac {4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right )^2}{e^{3/2}}-\frac {8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \log \left (2-\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac {4 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{3 x}-\frac {4 b d n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e \sqrt [3]{x}}-\frac {4 b d^{3/2} n \tan ^{-1}\left (\frac {\sqrt {d} \sqrt [3]{x}}{\sqrt {e}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{e^{3/2}}-\frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x}+\frac {4 i b^2 d^{3/2} n^2 \text {Li}_2\left (-1+\frac {2 \sqrt {e}}{\sqrt {e}-i \sqrt {d} \sqrt [3]{x}}\right )}{e^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.89, size = 598, normalized size = 1.66 \begin {gather*} \frac {-9 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {b n \left (72 b d \sqrt {e} n x^{2/3}-72 b d^{3/2} n x \tan ^{-1}\left (\frac {\sqrt {e}}{\sqrt {d} \sqrt [3]{x}}\right )-8 b n \left (\sqrt {e} \left (e-3 d x^{2/3}\right )+3 d^{3/2} x \tan ^{-1}\left (\frac {\sqrt {e}}{\sqrt {d} \sqrt [3]{x}}\right )\right )+12 e^{3/2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )-36 d \sqrt {e} x^{2/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )+18 (-d)^{3/2} x \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right )+18 \sqrt {-d} d x \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right )+9 b \sqrt {-d} d n x \left (\log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right ) \left (\log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right )+2 \log \left (\frac {1}{2} \left (1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )-4 \log \left (\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )-4 \text {Li}_2\left (1-\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )+2 \text {Li}_2\left (\frac {1}{2}-\frac {\sqrt {-d} \sqrt [3]{x}}{2 \sqrt {e}}\right )\right )+9 b (-d)^{3/2} n x \left (\log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right ) \left (\log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right )+2 \log \left (\frac {1}{2}-\frac {\sqrt {-d} \sqrt [3]{x}}{2 \sqrt {e}}\right )-4 \log \left (-\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )+2 \text {Li}_2\left (\frac {1}{2} \left (1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )-4 \text {Li}_2\left (1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )\right )}{e^{3/2}}}{9 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e/x^(2/3))^n])^2/x^2,x]

[Out]

(-9*(a + b*Log[c*(d + e/x^(2/3))^n])^2 + (b*n*(72*b*d*Sqrt[e]*n*x^(2/3) - 72*b*d^(3/2)*n*x*ArcTan[Sqrt[e]/(Sqr
t[d]*x^(1/3))] - 8*b*n*(Sqrt[e]*(e - 3*d*x^(2/3)) + 3*d^(3/2)*x*ArcTan[Sqrt[e]/(Sqrt[d]*x^(1/3))]) + 12*e^(3/2
)*(a + b*Log[c*(d + e/x^(2/3))^n]) - 36*d*Sqrt[e]*x^(2/3)*(a + b*Log[c*(d + e/x^(2/3))^n]) + 18*(-d)^(3/2)*x*(
a + b*Log[c*(d + e/x^(2/3))^n])*Log[Sqrt[e] - Sqrt[-d]*x^(1/3)] + 18*Sqrt[-d]*d*x*(a + b*Log[c*(d + e/x^(2/3))
^n])*Log[Sqrt[e] + Sqrt[-d]*x^(1/3)] + 9*b*Sqrt[-d]*d*n*x*(Log[Sqrt[e] - Sqrt[-d]*x^(1/3)]*(Log[Sqrt[e] - Sqrt
[-d]*x^(1/3)] + 2*Log[(1 + (Sqrt[-d]*x^(1/3))/Sqrt[e])/2] - 4*Log[(Sqrt[-d]*x^(1/3))/Sqrt[e]]) - 4*PolyLog[2,
1 - (Sqrt[-d]*x^(1/3))/Sqrt[e]] + 2*PolyLog[2, 1/2 - (Sqrt[-d]*x^(1/3))/(2*Sqrt[e])]) + 9*b*(-d)^(3/2)*n*x*(Lo
g[Sqrt[e] + Sqrt[-d]*x^(1/3)]*(Log[Sqrt[e] + Sqrt[-d]*x^(1/3)] + 2*Log[1/2 - (Sqrt[-d]*x^(1/3))/(2*Sqrt[e])] -
 4*Log[-((Sqrt[-d]*x^(1/3))/Sqrt[e])]) + 2*PolyLog[2, (1 + (Sqrt[-d]*x^(1/3))/Sqrt[e])/2] - 4*PolyLog[2, 1 + (
Sqrt[-d]*x^(1/3))/Sqrt[e]])))/e^(3/2))/(9*x)

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \left (d +\frac {e}{x^{\frac {2}{3}}}\right )^{n}\right )\right )^{2}}{x^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*(d+e/x^(2/3))^n))^2/x^2,x)

[Out]

int((a+b*ln(c*(d+e/x^(2/3))^n))^2/x^2,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(2/3))^n))^2/x^2,x, algorithm="maxima")

[Out]

-b^2*n^2*log(d*x^(2/3) + e)^2/x - integrate(-1/3*(2*(2*b^2*d*n*x + 3*(b^2*log(c) + a*b)*x^(1/3)*e + 3*(b^2*d*l
og(c) + a*b*d)*x - 6*(b^2*d*x + b^2*x^(1/3)*e)*log(x^(1/3*n)))*n*log(d*x^(2/3) + e) + 12*(b^2*d*x + b^2*x^(1/3
)*e)*log(x^(1/3*n))^2 + 3*(b^2*log(c)^2 + 2*a*b*log(c) + a^2)*x^(1/3)*e + 3*(b^2*d*log(c)^2 + 2*a*b*d*log(c) +
 a^2*d)*x - 12*((b^2*log(c) + a*b)*x^(1/3)*e + (b^2*d*log(c) + a*b*d)*x)*log(x^(1/3*n)))/(d*x^3 + x^(7/3)*e),
x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(2/3))^n))^2/x^2,x, algorithm="fricas")

[Out]

integral((b^2*log(c*((d*x + x^(1/3)*e)/x)^n)^2 + 2*a*b*log(c*((d*x + x^(1/3)*e)/x)^n) + a^2)/x^2, x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e/x**(2/3))**n))**2/x**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(2/3))^n))^2/x^2,x, algorithm="giac")

[Out]

integrate((b*log(c*(d + e/x^(2/3))^n) + a)^2/x^2, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{x^{2/3}}\right )}^n\right )\right )}^2}{x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e/x^(2/3))^n))^2/x^2,x)

[Out]

int((a + b*log(c*(d + e/x^(2/3))^n))^2/x^2, x)

________________________________________________________________________________________